const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false, //关闭eslint检查
    configureWebpack: {
        devtool: "cheap-module-source-map", // source中显示源码（生产时关闭）
        resolve: {
            alias: {
                //配置别名,修改后需要重新编译才能生效
                assets: "@/assets",
                img: "@/assets/img",
                common: "@/common",
                components: "@/components",
                network: "@/network",
                views: "@/views",
                style: "@/style",
                css: "@/assets/css",
            },
        },
    },
});
